package com.lvye.springbootehcache.dao;

import com.lvye.springbootehcache.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


/**
 * Created by  lvye_email@163.com
 * Date on 2018/7/3
 */
@Mapper
public interface UserDao{

    void delete(String uuid);

    User update(User user);

    User findByUuid(String uuid);

    int save(@Param("user") User user);
}
